<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>草稿箱</title>


    <link rel="stylesheet" type="text/css" href="../../css/base/general.css">
    <link rel="stylesheet" type="text/css" href="../../css/base/header.css">
    <link rel="stylesheet" type="text/css" href="../../css/base/footer.css">
    <link rel="stylesheet" type="text/css" href="../../css/center.css">


    <script type="text/javascript" charset="utf-8" src="../../js/base/jquery.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/base/jquery.page.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/base/base.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/base/layer.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/center.js"></script>


    <link href="../../image/base/favicon.ico" mce_href="../../image/base/favicon.ico" type="image/x-icon"
          rel="bookmark"/>
    <link href="../../image/base/favicon.ico" mce_href="../../image/base/favicon.ico" type="image/x-icon" rel="icon"/>
    <link href="../../image/base/favicon.ico" mce_href="../../image/base/favicon.ico" type="image/x-icon"
          rel="shortcut icon"/>

</head>
<body>
<div id="header">
    <div class="header-row-1">
        <div class="header-container">
            <div class="header-row-1-col-1">
                <a href="../app.html" target="_blank" class="help">
                    <i></i>
                    APP下载
                </a>
            </div>
            <ul class="header-row-1-col-2">
                <li class="nav-topic">
                    <a href="../../index.html" style="border-left: none;">选题</a>
                    <div class="header-topic-label">
                        <ul class="header-topic-label-list"></ul>
                    </div>
                </li>
                <li class="nav-interest">
                    <a href="../discover.html" target="_blank">发现</a>
                </li>
                <li class="nav-follow"><a href="../attention.html" target="_blank">关注的人</a></li>
                <li class="nav-ranklist"><a href="../rank.html" target="_blank">排行榜</a></li>
            </ul>
            <div class="header-row-1-col-4"></div>
            <div class="header-row-1-col-3">
                <div class="search-box">
                    <a href="javascript:;" class="search-btn"></a>
                    <input type="hidden" id="keyword002" value="请输入您所需要搜索的内容"/>
                    <input type="text" id="keyword001" placeholder="请输入您所需要搜索的内容" autocomplete="off"/>
                    <div class="search-record">
                        <span><em></em><i></i></span>
                        <div class="search-record-box">
                            <ul>

                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="header-row-2">
        <div class="header-container">
            <a href="../publish/post.html" class="side-pub-thread" target="_blank"></a>
            <a class="logo" href="../../index.html"></a>
            <ul class="navigator">
                <li class="homepage"><a href="../../index.html" target="_blank">选题</a></li>
                <li class="interestpage"><a href="../discover.html" target="_blank">发现</a></li>
                <li class="followpage"><a href="../attention.html" target="_blank">关注的人</a></li>
                <li class="rankpage"><a href="../rank.html" target="_blank">排行榜</a></li>
                <li class="centerpage"><a href="home.html" target="_blank" style="color: black;">个人中心</a></li>
            </ul>
            <div class="side-bar">
                <a href="javascript:;" class="go-top go-top-hidden">
                    <em>返回顶部</em>
                    <i></i>
                </a>
            </div>
        </div>
    </div>
</div>

<div id="container">
    <div class="crumbs">
        <div class="crumbs-box">
            <em>当前位置：</em>
            <a href="../../index.html">首页</a>
            >
            <a href="drafts.html" style="color: black;">草稿箱</a>
        </div>
    </div>
    <div class="usercenter-left">
        <ul class="nav">
            <li><a href="home.html">个人中心</a></li>
            <li><a href="friend.html" class="nav-friend">好友管理</a></li>
            <li><a href="commend.html" class="nav-info">消息中心</a></li>
            <li><a href="thread.html">帖子管理</a></li>
            <li class="current"><a href="javascript:;">草稿箱</a></li>
            <li><a href="blacklist.html">黑名单</a></li>
            <li><a href="favorite.html">收藏管理</a></li>
            <li><a href="redemption.html">我的兑换</a></li>
            <li><a href="setup.html">账号设置</a></li>
        </ul>
    </div>
    <div class="usercenter-right">
        <div class="my-thread" style="margin-top: 0px;min-height: 390px">
            <h3 class="small-title">
                草稿箱
            </h3>
            <ul class="my-thread-list my-thread-list-drafts"></ul>
            <div class="pageNum"></div>
        </div>
    </div>
    <div style="clear: both"></div>
</div>

<div id="footer">
    <div class="container">
        <div class="left-footer">
            <ul class="about">
                <li><a href="http://www.mtzl.tv/official" target="_blank">关于我们</a></li>
                <span class="line"></span>
                <li><a href="../foot/notice.html" target="_blank">帮助中心</a></li>
                <span class="line"></span>
                <li><a href="../foot/agreement.html" target="_blank">用户协议</a></li>
            </ul>
            <div class="spark-logo"></div>
            <div class="clear"></div>
            <div class="copyright">
                <span>&copy;2015-2016</span>
                <span>Motortravel</span>
                <span>All Rights Reserved</span>
                <span>浙ICP备16035685号</span>
            </div>
        </div>
        <div class="right-footer">
            <div class="weibo-list">
                <a href="http://weibo.com/mtotortraveel" target="_blank" class="weibo-list-a"></a>
            </div>
            <span class="qrcode qrcode-hide"></span>
            <a href="#" target="_blank" class="shop-qrcode"></a>
            <div class="footer-weibo-btn">
                <i></i>
            </div>
            <div class="footer-weixin-btn">
                <i></i>
            </div>
            <a href="#" target="_blank" class="footer-taobao-btn">
                <i></i>
            </a>
        </div>
    </div>
</div>

</body>
<script>
    window.onload=function(){
        if(user_id){
            data_motocycle={
                user_id: user_id,
                page: page,
                rows: 12
            };
            center_drafts();
            //分页
            var _pagenum = Math.ceil(total / data_motocycle.rows);
            if (_pagenum > 1) {
                //需要分页展示
                $('.pageNum').show();
                $(".pageNum").createPage({
                    pageCount: _pagenum,
                    current: data_motocycle.page,
                    backFn: function (p) {
                        //单击回调方法，p是当前页码
                        data_motocycle.page = p;
                        center_drafts();
                    }
                });
            }
        }else{
            window.location.href="../loading.html"
        }

    }

</script>
</html>